deleteStat function source Delete a stat from the database. viewmodel.deleteStat(stat, event) Delete a stat from the database. Parameters stat {Stat} The Stat to delete. event {event} The event that triggered the deletion. Use in a template like: <span class="destroy-btn glyphicon glyphicon-trash" ($click)="deleteStat(., %event)"></span>
Use in a template like: